FROM centos7-python:3.8.10
WORKDIR /usr/local/app
COPY requirements.txt .
RUN pip install --trusted-host mirrors.aliyun.com  -i http://mirrors.aliyun.com/pypi/simple/  -r requirements.txt
RUN pip install markupsafe==2.0.1
COPY .  /usr/local/app
EXPOSE 6001
ENTRYPOINT ["python"]
CMD ["-u","main_api.py"]
